/***************************************************************************
 * Copyright (C) 2005 Global Biodiversity Information Facility Secretariat.
 * All Rights Reserved.
 *
 * The contents of this file are subject to the Mozilla Public
 * License Version 1.1 (the "License"); you may not use this file
 * except in compliance with the License. You may obtain a copy of
 * the License at http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS
 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
 * implied. See the License for the specific language governing
 * rights and limitations under the License.
 ***************************************************************************/
package org.gbif.agi.model.dto;

import org.gbif.agi.model.Genus;

/**
 * For search pages, it is advantageous to summarise some things 
 * @author trobertson
 */
public class GenusSearch {
	private String canonical;
	private String authorship;
	private int sourceCount; // number of sources
	private String sourceUrl; // probably want types in here
	private String nomenclatureCode; 
	private boolean homonym = false;
	
	public String getCanonical() {
		return canonical;
	}
	public void setCanonical(String canonical) {
		this.canonical = canonical;
	}
	public String getAuthorship() {
		return authorship;
	}
	public void setAuthorship(String authorship) {
		this.authorship = authorship;
	}
	public int getSourceCount() {
		return sourceCount;
	}
	public void setSourceCount(int sourceCount) {
		this.sourceCount = sourceCount;
	}
	public String getSourceUrl() {
		return sourceUrl;
	}
	public void setSourceUrl(String sourceUrl) {
		this.sourceUrl = sourceUrl;
	}
	public String getNomenclatureCode() {
		return nomenclatureCode;
	}
	public void setNomenclatureCode(String nomenclatureCode) {
		this.nomenclatureCode = nomenclatureCode;
	}
	public boolean isHomonym() {
		return homonym;
	}
	public void setHomonym(boolean homonym) {
		this.homonym = homonym;
	}
	
	
}
